package org.tgcloud.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 项目发货信息
 */
@ApiModel(description="项目发货信息")
@Data
public class MjProjectShipment implements Serializable {


    @ApiModelProperty(value="")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value="")
    private Date createTime;

    @ApiModelProperty(value="")
    private Date updateTime;

    /**
    * 是否全部发货（1-是，2-否）
    */
    @ApiModelProperty(value="是否全部发货（1-是，2-否）")
    private Short isAllShipment;

    /**
    * 发货形势code
    */
    @ApiModelProperty(value="发货形势code")
    private String shipmentTypeCode;

    /**
    * 发货形势名称
    */
    @ApiModelProperty(value="发货形势名称")
    private String shipmentTypeName;

    /**
    * 排序
    */
    @ApiModelProperty(value="排序")
    private Integer sort;

    /**
    * 项目ID
    */
    @ApiModelProperty(value="项目ID")
    private Integer projectId;

    @ApiModelProperty(value="阶段id")
    private Integer stageId;

    @ApiModelProperty(value="快递单号（物流）")
    private String shipmentNo;

    @ApiModelProperty(value="司机和车辆信息（货拉拉）")
    private String driverCar;

    @ApiModelProperty(value="备注")
    private String remark ;

    @ApiModelProperty(value="地址")
    private String address ;

    @ApiModelProperty(value="体积")
    private String volume ;

    @ApiModelProperty(value="重量")
    private String weight ;

    @ApiModelProperty(value="预计到达时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date arrivalTime ;

    private static final long serialVersionUID = 1L;
}